<template>
	<DetailPage v-bind="detailConfig" :model="baseMod" style="width: 100%; margin: 0 auto"></DetailPage>
</template>

<script setup lang="ts">
import DetailPage from '@/views/aplid/DetailPage/index.vue'
import { detailConfig } from '../../config'
const props = defineProps({
	chainViewInfo:{
		type:Object,
		default:()=>({})
	},
	isBlockchain:{
		type:Boolean,
		default:false
	}
})

const rowData: any = inject('nowRowData') || {}
let baseMod = ref({})
if(props.isBlockchain){
	baseMod.value = props.chainViewInfo || {}
}else{
	baseMod.value  = rowData.value?.dpServiceObjects || {}
}
</script>
